package com.design.pattern.factory.method;

/**
 * Created by Lxk on 2019/9/28.
 */
public class FactoryTest {

    public static void main(String[] args) {
        Car c = new AudiFactory().createCar();
        Car c2 = new BydFactory().createCar();

        c.run();
        c2.run();
    }

}
